package org.puppet.demo.tank;

import org.puppet.demo.tank.puppet.Tank;
import org.puppet.demo.tank.scene.BattleView;
import org.puppet.demo.tank.tanks.DualTank;
import org.puppet.game.World;

import android.os.Bundle;

public class TankWorld extends World {

	@Override
	public void onCreate(Bundle icicle) {
		super.onCreate(icicle);		
		sceneManager.addSceneView("main", new BattleView());
	}
	
	public void onStart(){
		super.onStart();
		
		Tank tank = new DualTank();
		
		tank.vX = 0.0f;
		tank.vY = 0.0f;
		tank.x = 150.0f;
		tank.y = 189f;
		tank.acceY = -0.0028f;
		
		tank.live();
	}
	
}